package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.Organization;

import java.util.List;

/**
 * @Description
 * @Author 魏锴
 * @Date 2024/1/8
 */
public interface OrganizationService extends IService<Organization> {

    boolean insertOrganization(Organization org);

    boolean updateOrganization(Organization org);

    boolean deleteOrganization(int id);

    Organization getOrganizationById(int id);
    List<Organization> getOrganizationList(String father_name, String org_name);

}
